package com.atguigu.gulimail.service;

import com.atguigu.gulimail.vo.Cart;
import com.atguigu.gulimail.vo.CartItem;

/**
 * @author fangy
 * @date 2022-10-12 19:21
 */
public interface CartService {
    CartItem addToCart(Long skuId, Integer num);

    CartItem getCartItem(Long skuId);

    Cart getCart();

    void checkItem(Long skuId, int check);

    void deleteItem(String skuId);
}
